<template>
	<view class="DetailInfoComp">
		<view class="banner-box">
			<swiper :autoplay="true" class="swiper">
				<swiper-item>
					<image class="swiper-img"
						src="https://manage.yuansaas.com/formAtt/1544128176045883e531196586624873_1631150793955.jpg"
						mode="aspectFill"></image>
				</swiper-item>
				<swiper-item>
					<image class="swiper-img"
						src="https://manage.yuansaas.com/formAtt/416256632525824a2d8e91445994ec38_1630022922411.jpg"
						mode="aspectFill"></image>
					<!-- <video src="" 
	                class="swiper-img"
	                :controls="false"
	                >
	                </video> -->
				</swiper-item>
			</swiper>
			<view class="btn-group">
				<view class="btn active">VR</view>
				<view class="btn">图片</view>
				<view class="btn">视频</view>
			</view>
			<view class="dot">1/2</view>
			<!-- <view class="dot">{{currentSwiper+1 || 0}}/{{detail[objectKeys.picture_url].length || 1}}</view> -->

		</view>
		<view class="title omit">A栋3层303</view>
		<view class="list">
			<view class="list-item">
				<view class="text_1">1</view>
				<view class="text_2">房源数量</view>
			</view>
			<view class="divider"></view>
			<view class="list-item">
				<view class="text_1">1000.00</view>
				<view class="text_2">月租金(元)</view>
			</view>
			<view class="divider"></view>
			<view class="list-item">
				<view class="text_1">100</view>
				<view class="text_2">面积(㎡)</view>
			</view>
		</view>
	</view>

</template>

<script>
	export default {
		name: "DetailInfo",
		data() {
			return {

			};
		}
	}
</script>

<style scoped>
	.DetailInfoComp {
		width: 100%;
	}

	.DetailInfoComp .banner-box {
		width: 100%;
		height: 500rpx;
		background: #F7F7F8;
		position: relative;
		margin-bottom: 40rpx;
	}

	.DetailInfoComp .banner-box .swiper {
		width: 100%;
		height: 100%;
	}

	.DetailInfoComp .banner-box .swiper .swiper-img {
		width: 100%;
		height: 100%;
		background-color: #eee;
	}

	.DetailInfoComp .banner-box .btn-group {
		position: absolute;
		bottom: 28rpx;
		left: 50%;
		transform: translate(-50%, 0);
		width: 300rpx;
		height: 46rpx;
		background: rgba(0, 0, 0, 0.3);
		/* border: 2rpx solid #FFFFFF; */
		border-radius: 100rpx;
		display: flex;
		align-items: center;
	}

	.DetailInfoComp .banner-box .btn-group .btn {
		flex: 1;
		height: 100%;
		font-size: 24rpx;
		font-family: PingFang SC;
		font-weight: 500;
		color: #FFFFFF;
		opacity: 1;
		text-align: center;
		line-height: 46rpx;
	}

	.DetailInfoComp .banner-box .btn-group .btn.active {
		width: 100rpx;
		background: #FFFFFF;
		border-radius: 24rpx;
		font-size: 24rpx;
		text-align: center;
		font-family: PingFang SC;
		font-weight: bold;
		line-height: 46rpx;
		color: #333444;
		opacity: 1;
	}

	.DetailInfoComp .banner-box .dot {
		position: absolute;
		width: 100rpx;
		height: 46rpx;
		bottom: 28rpx;
		right: 28rpx;
		background: rgba(0, 0, 0, 0.3);
		border-radius: 100rpx;
		text-align: center;
		line-height: 46rpx;
		font-size: 24rpx;
		font-family: PingFang SC;
		font-weight: 500;
		color: #FFFFFF;
	}

	.DetailInfoComp .title {
		max-width: 686rpx;
		font-size: 36rpx;
		font-family: PingFang SC;
		font-weight: bold;
		color: #333444;
		margin: 0 auto;
		line-height: 50rpx;
		margin-bottom: 30rpx;
	}

	.DetailInfoComp .list {
		width: 686rpx;
		height: 156rpx;
		background: #FFFFFF;
		box-shadow: 0 4rpx 20rpx rgba(102, 103, 119, 0.06);
		border-radius: 10rpx;
		display: flex;
		align-items: center;
		margin: 0 auto;
	}

	.DetailInfoComp .list .divider {
		width: 0;
		height: 64rpx;
		border: 2rpx solid #EEEEEE;
	}

	.DetailInfoComp .list .list-item {
		flex: 1;
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
	}

	.DetailInfoComp .list .list-item .text_1 {
		font-size: 40rpx;
		font-family: PingFang SC;
		font-weight: bold;
		margin-bottom: 8rpx;
		color: #FF455A;
		max-width: 200rpx;
		/* overflow: hidden; */
		/* text-overflow: ellipsis; */
		/* word-break: keep-all; */
		/* white-space: pre-wrap; */
	}

	.DetailInfoComp .list .list-item .text_2 {
		font-size: 24rpx;
		font-family: PingFang SC;
		font-weight: 500;
		color: #333444;
	}
</style>
